﻿using Microsoft.Phone.Controls;
using YinYueTai.HtmlParser;
using System;
using System.Windows;
using System.IO;
using GalaSoft.MvvmLight.Messaging;

namespace YinYueTai.View
{
    /// <summary>
    /// Description for VideoView.
    /// </summary>
    public partial class VideoView : PhoneApplicationPage
    {
        /// <summary>
        /// Initializes a new instance of the VideoView class.
        /// </summary>
        public VideoView()
        {
            InitializeComponent();
            Messenger.Default.Send<WebBrowser>(webBrowser1, "SETPLAYER");
            HaoLab.WindowsPhone.RotateTransitionEvent r=new HaoLab.WindowsPhone.RotateTransitionEvent();
            OrientationChanged += r.phoneApplicationPage_OrientationChanged;
        }

        private void ApplicationBarIconButton_Click(object sender, EventArgs e)
        {
            MessageBox.Show("本程序为音悦Tai非官方应用，请尽量在WIFI环境下使用！\r\n作者邮箱:hao-lab@hotmail.com", "关于", MessageBoxButton.OK);
        }

    }

}
